{extend name="base" /}
{block name="main"}
<div class="col-md-10">
    <ol class="breadcrumb" style="margin-top: 20px;">
        <li class="breadcrumb-item"><a href="index.html">首页</a></li>
        <li class="breadcrumb-item active">职位管理</li>
    </ol>

    <div class="card">
        <div class="card-body">

            <form action="{:url('zw/addzw1')}" enctype="multipart/form-data"  method="POST">
                <div class="form-group">
                    <label for="text">职位名:</label>
                    <input type="text" class="form-control" id="email" name="position_name">
                </div>
                <div class="form-group">
                    <label for="text">职位类型:</label>
                    <select  class="custom-select-sm" name="joptype_id">
                        {volist name="res" id="vo"}
                        <option value="{$vo.joptype_id}">{$vo.joptype_name}</option>
                        {/volist}
                      </select>
                </div>
                <div class="form-group">
                    <label for="text">工作地点:</label>
                    <input type="text" class="form-control" id="email" name="position_site">
                </div>
                <div class="form-group">
                    <label for="text">薪资:</label>
                    <input type="text" class="form-control" id="email" name="position_money">
                </div>
                <div class="form-group">
                    <textarea class="form-control" rows="5" id="comment" placeholder="简介" name="position_info"></textarea>
                </div>
                <div class="form-group">
                    <!-- <div class="custom-file"> -->
                        <!-- <input type="file" class="custom-file-input" id="customFile" name="position_pic" /> -->
                        <input type="file" id="myFile" name="position_pic">
                        <!-- <label class="custom-file-label" for="customFile">选择文件</label> -->
                      <!-- </div> -->
                </div>                                         
                <button type="submit" class="btn btn-primary">添加</button>
            </form>
        </div>
    </div>
</div>
{/block}